package org.exam.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.exam.system.domain.Permission;
import org.exam.system.query.PermissionQuery;

import java.util.List;


@Mapper
public interface PermissionMapper {

    List<Permission> queryPage(PermissionQuery permissionQuery);

    void add(Permission permission);

    void delete(Long id);

    Permission get(Long id);

    void update(Permission permission);


    Permission selectBySn(String permissionSn);

    List<Permission> getAll();
}
